DisableNode Method

Set the Disabled status of a specific Node object in the referenced Treeview control.

Syntax

object.DisableNode ( Node, State )

The DisableNode method syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
Node Required. A valid Node (MSComctlLib.Node) object.
Selected Required. A Boolean that determines the disabled state of the referenced Node object, as described in Settings.

Settings

The State operator settings are:

Setting Description
True (Default) The Node object(s) disabled.
False The Node object(s) enabled.

Remarks